//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package ciicos.point.result;

import java.util.Arrays;

public class ScadaEntity {
    private String name;
    private String val;
    private String tag;
    private String PV;
    private String DESC;
    private String PVTIME;
    private Integer KIND;
    private String TEXT;
    private Integer ALMSTAT;
    private String UNIT;
    private Integer[] vals;

    public String getName() {
        return this.name;
    }

    public String getVal() {
        return this.val;
    }

    public String getTag() {
        return this.tag;
    }

    public String getPV() {
        return this.PV;
    }

    public String getDESC() {
        return this.DESC;
    }

    public String getPVTIME() {
        return this.PVTIME;
    }

    public Integer getKIND() {
        return this.KIND;
    }

    public String getTEXT() {
        return this.TEXT;
    }

    public Integer getALMSTAT() {
        return this.ALMSTAT;
    }

    public String getUNIT() {
        return this.UNIT;
    }

    public Integer[] getVals() {
        return this.vals;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setVal(String val) {
        this.val = val;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public void setPV(String PV) {
        this.PV = PV;
    }

    public void setDESC(String DESC) {
        this.DESC = DESC;
    }

    public void setPVTIME(String PVTIME) {
        this.PVTIME = PVTIME;
    }

    public void setKIND(Integer KIND) {
        this.KIND = KIND;
    }

    public void setTEXT(String TEXT) {
        this.TEXT = TEXT;
    }

    public void setALMSTAT(Integer ALMSTAT) {
        this.ALMSTAT = ALMSTAT;
    }

    public void setUNIT(String UNIT) {
        this.UNIT = UNIT;
    }

    public void setVals(Integer[] vals) {
        this.vals = vals;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof ScadaEntity)) {
            return false;
        } else {
            ScadaEntity other = (ScadaEntity)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$KIND = this.getKIND();
                Object other$KIND = other.getKIND();
                if (this$KIND == null) {
                    if (other$KIND != null) {
                        return false;
                    }
                } else if (!this$KIND.equals(other$KIND)) {
                    return false;
                }

                Object this$ALMSTAT = this.getALMSTAT();
                Object other$ALMSTAT = other.getALMSTAT();
                if (this$ALMSTAT == null) {
                    if (other$ALMSTAT != null) {
                        return false;
                    }
                } else if (!this$ALMSTAT.equals(other$ALMSTAT)) {
                    return false;
                }

                Object this$name = this.getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }

                Object this$val = this.getVal();
                Object other$val = other.getVal();
                if (this$val == null) {
                    if (other$val != null) {
                        return false;
                    }
                } else if (!this$val.equals(other$val)) {
                    return false;
                }

                Object this$tag = this.getTag();
                Object other$tag = other.getTag();
                if (this$tag == null) {
                    if (other$tag != null) {
                        return false;
                    }
                } else if (!this$tag.equals(other$tag)) {
                    return false;
                }

                Object this$PV = this.getPV();
                Object other$PV = other.getPV();
                if (this$PV == null) {
                    if (other$PV != null) {
                        return false;
                    }
                } else if (!this$PV.equals(other$PV)) {
                    return false;
                }

                Object this$DESC = this.getDESC();
                Object other$DESC = other.getDESC();
                if (this$DESC == null) {
                    if (other$DESC != null) {
                        return false;
                    }
                } else if (!this$DESC.equals(other$DESC)) {
                    return false;
                }

                Object this$PVTIME = this.getPVTIME();
                Object other$PVTIME = other.getPVTIME();
                if (this$PVTIME == null) {
                    if (other$PVTIME != null) {
                        return false;
                    }
                } else if (!this$PVTIME.equals(other$PVTIME)) {
                    return false;
                }

                Object this$TEXT = this.getTEXT();
                Object other$TEXT = other.getTEXT();
                if (this$TEXT == null) {
                    if (other$TEXT != null) {
                        return false;
                    }
                } else if (!this$TEXT.equals(other$TEXT)) {
                    return false;
                }

                Object this$UNIT = this.getUNIT();
                Object other$UNIT = other.getUNIT();
                if (this$UNIT == null) {
                    if (other$UNIT != null) {
                        return false;
                    }
                } else if (!this$UNIT.equals(other$UNIT)) {
                    return false;
                }

                if (!Arrays.deepEquals(this.getVals(), other.getVals())) {
                    return false;
                } else {
                    return true;
                }
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof ScadaEntity;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $KIND = this.getKIND();
        result = result * 59 + ($KIND == null ? 43 : $KIND.hashCode());
        Object $ALMSTAT = this.getALMSTAT();
        result = result * 59 + ($ALMSTAT == null ? 43 : $ALMSTAT.hashCode());
        Object $name = this.getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        Object $val = this.getVal();
        result = result * 59 + ($val == null ? 43 : $val.hashCode());
        Object $tag = this.getTag();
        result = result * 59 + ($tag == null ? 43 : $tag.hashCode());
        Object $PV = this.getPV();
        result = result * 59 + ($PV == null ? 43 : $PV.hashCode());
        Object $DESC = this.getDESC();
        result = result * 59 + ($DESC == null ? 43 : $DESC.hashCode());
        Object $PVTIME = this.getPVTIME();
        result = result * 59 + ($PVTIME == null ? 43 : $PVTIME.hashCode());
        Object $TEXT = this.getTEXT();
        result = result * 59 + ($TEXT == null ? 43 : $TEXT.hashCode());
        Object $UNIT = this.getUNIT();
        result = result * 59 + ($UNIT == null ? 43 : $UNIT.hashCode());
        result = result * 59 + Arrays.deepHashCode(this.getVals());
        return result;
    }

    public String toString() {
        return "ScadaEntity(name=" + this.getName() + ", val=" + this.getVal() + ", tag=" + this.getTag() + ", PV=" + this.getPV() + ", DESC=" + this.getDESC() + ", PVTIME=" + this.getPVTIME() + ", KIND=" + this.getKIND() + ", TEXT=" + this.getTEXT() + ", ALMSTAT=" + this.getALMSTAT() + ", UNIT=" + this.getUNIT() + ", vals=" + Arrays.deepToString(this.getVals()) + ")";
    }
}
